<?php

class HomeController extends BaseController {

	/*
	|--------------------------------------------------------------------------
	| Default Home Controller
	|--------------------------------------------------------------------------
	|
	| You may wish to use controllers instead of, or in addition to, Closure
	| based routes. That's great! Here is an example controller method to
	| get you started. To route to this controller, just add the route:
	|
	|	Route::get('/', 'HomeController@showWelcome');
	|
	*/

	public function showWelcome()
	{
		//return View::make('hello');
        //return Config::get('app.timezone');

        //var_dump(User::all()->toJson());
        //echo "Hello World";
        $users = User::all();
        return View::make('hello',array('users'=>$users,'name'=>'harry'));
	}

    public function userInfo($id){
        var_dump($id);
    }

}
